package com.probox.common.entity.domain.product;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 商品买家修信息对象 product_buyersshow
 *
 * @author usoft
 * @date 2021-09-01
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_buyersshow")
@ApiModel(description = "商品买家修信息")
public class ProductBuyersshow implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "BUYERSSHOW_UID", type = IdType.AUTO)
    private Long buyersshowUid;

    /**
     * 图片地址，多种以,逗号分开
     */
    @Excel(name = "图片地址，多种以,逗号分开")
    @ApiModelProperty(value = "图片地址，多种以,逗号分开")
    private String imagesUrl;

    /**
     * 内容
     */
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String commentContent;

    /**
     * 评论视频
     */
    @Excel(name = "评论视频")
    @ApiModelProperty(value = "评论视频")
    private String commentVideo;

    /**
     * 评论时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "评论时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "评论时间")
    private Date commentTime;

    /**
     * 商品UID
     */
    @Excel(name = "商品UID")
    @ApiModelProperty(value = "商品UID")
    private Long productUid;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String productName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    @ApiModelProperty(value = "商品图片")
    private String productImgUrl;

    /**
     * 状态（1有效-1删除
     */
    @Excel(name = "状态", readConverterExp = "状态（1有效-1删除")
    @ApiModelProperty(value = "状态")
    private String dataStatus;

    /**
     * 是否显示（1显示,0隐藏）
     */
    @Excel(name = "是否显示", readConverterExp = "1=显示,0隐藏")
    @ApiModelProperty(value = "是否显示")
    private String isShow;

    /**
     * 创建人ID
     */
    @Excel(name = "创建人ID")
    @ApiModelProperty(value = "创建人ID")
    private Long createUid;

    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称")
    @ApiModelProperty(value = "创建人名称")
    private String createName;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新人ID
     */
    @Excel(name = "更新人ID")
    @ApiModelProperty(value = "更新人ID")
    private Long updateUid;

    /**
     * 更新人名称
     */
    @Excel(name = "更新人名称")
    @ApiModelProperty(value = "更新人名称")
    private String updateName;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    private Long platformUid;

    private Long skuUid;

    private String buyName;
    private String buyImg;

    private Long itemUid;
}
